﻿@using Webdiyer.WebControls.Mvc
@model PagedList<VipSoft.CMS.Core.Entity.Article>
@{
    var i = 1;
}
@foreach (var item in Model)
{
    <div class="list01">
        <img src="@item.FileName" style="width: 93px; height: 93px" border="0" />
        <a href="/Article/Content/@ViewBag.CId/@item.ID#content" title="@item.Title"><h2>@item.Title</h2></a>
        <ul>
            <a href="/Article/Content/@ViewBag.CId/@item.ID#content" title="@item.Title"><li> 
                @Html.Raw((item.Summary != null ? item.Summary.Replace("\n", "<br/>") : item.Summary))
            </li></a>
        </ul>
    </div>
    if (i == 3 || i == @Model.Count)
    {
        <div style="clear:both"></div>
    }
    i++;
}
